// 携带登录态credentials必须为include
export default function fetch(
  input: RequestInfo,
  init?: RequestInit
): Promise<Response> {
  console.log("fetch", input, init);
  return window.fetch(input, { ...init, credentials: "omit" });
}
